package com.kk.xhr.admin.controller.request;

import com.kk.xhr.common.pojo.DegreeEnum;
import com.kk.xhr.common.pojo.EmployeeFromEnum;
import com.kk.xhr.common.pojo.EmployeeStatusEnum;
import com.kk.xhr.common.pojo.GenderEnum;
import com.kk.xhr.common.pojo.WedStatusEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 员工添加request
 *
 * @author luokexiong
 * @version 1.0 2021/2/17
 * @since 1.0.0
 */
@ApiModel
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class EmployeeAddRequest {
    @ApiModelProperty(value = "姓名", example = "小李子")
    private String name;

    @ApiModelProperty(value = "性别", example = "MALE")
    private GenderEnum gender;

    @ApiModelProperty(value = "生日", example = "1231241231")
    private LocalDateTime birthday;

    @ApiModelProperty(value = "身份证", example = "123123142312")
    private String idcard;

    @ApiModelProperty(value = "婚姻状态", example = "MARRIED")
    private WedStatusEnum wedlock;

    @ApiModelProperty(value = "民族", example = "1")
    private Long nationId;

    @ApiModelProperty(value = "籍贯", example = "广东深圳")
    private String nativeplace;

    @ApiModelProperty(value = "政治身份", example = "1")
    private Long politicId;

    @ApiModelProperty(value = "邮箱", example = "xxx@qq.com")
    private String email;

    @ApiModelProperty(value = "电话号码", example = "123123123")
    private String phone;

    @ApiModelProperty(value = "地址", example = "xxx路xxx小区")
    private String address;

    @ApiModelProperty(value = "招聘形式", example = "SOCIAL")
    private EmployeeFromEnum form;

    @ApiModelProperty(value = "学历", example = "DOCTOR")
    private DegreeEnum degree;

    @ApiModelProperty(value = "专业", example = "网络工程")
    private String specialty;

    @ApiModelProperty(value = "学校", example = "清华大学")
    private String school;

    @ApiModelProperty(value = "入职", example = "12312412312")
    private Long begin;

    @ApiModelProperty(value = "辞职", example = "123124123123")
    private Long end;

    @ApiModelProperty(value = "状态", example = "WORKING")
    private EmployeeStatusEnum status;
}
